mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
parent
f5ef49cf29
commit
5190d26e7e
107 changed files with 2790 additions and 2790 deletions
|
|
@ -29,7 +29,7 @@ NTSTATUS IVRSystem_IVRSystem_014_ComputeDistortion( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_014_ComputeDistortion_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates );
|
||||
params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetTimeSinceLastVsync( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
|
||||
params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetD3D9AdapterIndex( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (int32_t)iface->GetD3D9AdapterIndex( );
|
||||
params->_ret = iface->GetD3D9AdapterIndex( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ NTSTATUS IVRSystem_IVRSystem_014_IsDisplayOnDesktop( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsDisplayOnDesktop( );
|
||||
params->_ret = iface->IsDisplayOnDesktop( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ NTSTATUS IVRSystem_IVRSystem_014_SetDisplayVisibility( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop );
|
||||
params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( void *arg
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
|
||||
params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId );
|
||||
params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( void *a
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType );
|
||||
params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( void *a
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex );
|
||||
params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceClass( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex );
|
||||
params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ NTSTATUS IVRSystem_IVRSystem_014_IsTrackedDeviceConnected( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex );
|
||||
params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -189,7 +189,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
|
||||
params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -221,7 +221,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error );
|
||||
params->_ret = iface->GetPropErrorNameFromEnum( params->error );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -232,7 +232,7 @@ NTSTATUS IVRSystem_IVRSystem_014_PollNextEvent( void *args )
|
|||
u_VREvent_t_103 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
||||
params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
||||
if (params->pEvent) *params->pEvent = u_pEvent;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -244,7 +244,7 @@ NTSTATUS IVRSystem_IVRSystem_014_PollNextEventWithPose( void *args )
|
|||
u_VREvent_t_103 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose );
|
||||
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose );
|
||||
if (params->pEvent) *params->pEvent = u_pEvent;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -253,7 +253,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType );
|
||||
params->_ret = iface->GetEventTypeNameFromEnum( params->eType );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -272,7 +272,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetControllerState( void *args )
|
|||
u_VRControllerState001_t u_pControllerState;
|
||||
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
||||
uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0;
|
||||
params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize );
|
||||
params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize );
|
||||
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -284,7 +284,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetControllerStateWithPose( void *args )
|
|||
u_VRControllerState001_t u_pControllerState;
|
||||
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
||||
uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0;
|
||||
params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose );
|
||||
params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose );
|
||||
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -301,7 +301,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId );
|
||||
params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -309,7 +309,7 @@ NTSTATUS IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
|
||||
params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -317,7 +317,7 @@ NTSTATUS IVRSystem_IVRSystem_014_CaptureInputFocus( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_014_CaptureInputFocus_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->CaptureInputFocus( );
|
||||
params->_ret = iface->CaptureInputFocus( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -333,7 +333,7 @@ NTSTATUS IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( void *arg
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( );
|
||||
params->_ret = iface->IsInputFocusCapturedByAnotherProcess( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -341,7 +341,7 @@ NTSTATUS IVRSystem_IVRSystem_014_DriverDebugRequest( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_014_DriverDebugRequest_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize );
|
||||
params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -349,7 +349,7 @@ NTSTATUS IVRSystem_IVRSystem_014_PerformFirmwareUpdate( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex );
|
||||
params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue