mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-29 18:54:33 +01:00
parent
f5ef49cf29
commit
5190d26e7e
107 changed files with 2790 additions and 2790 deletions
|
|
@ -61,7 +61,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetTimeSinceLastVsync( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
|
||||
params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetD3D9AdapterIndex( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (int32_t)iface->GetD3D9AdapterIndex( );
|
||||
params->_ret = iface->GetD3D9AdapterIndex( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ NTSTATUS IVRSystem_IVRSystem_005_AttachToWindow( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_AttachToWindow_params *params = (struct IVRSystem_IVRSystem_005_AttachToWindow_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->AttachToWindow( params->hWnd );
|
||||
params->_ret = iface->AttachToWindow( params->hWnd );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( void *arg
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
|
||||
params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetTrackedDeviceClass( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex );
|
||||
params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -133,7 +133,7 @@ NTSTATUS IVRSystem_IVRSystem_005_IsTrackedDeviceConnected( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex );
|
||||
params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
|
||||
params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -189,7 +189,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error );
|
||||
params->_ret = iface->GetPropErrorNameFromEnum( params->error );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ NTSTATUS IVRSystem_IVRSystem_005_PollNextEvent( void *args )
|
|||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
u_VREvent_t_097 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr );
|
||||
params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr );
|
||||
if (params->pEvent) *params->pEvent = u_pEvent;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -210,7 +210,7 @@ NTSTATUS IVRSystem_IVRSystem_005_PollNextEventWithPose( void *args )
|
|||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
u_VREvent_t_097 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose );
|
||||
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose );
|
||||
if (params->pEvent) *params->pEvent = u_pEvent;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -219,7 +219,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType );
|
||||
params->_ret = iface->GetEventTypeNameFromEnum( params->eType );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -237,7 +237,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetControllerState( void *args )
|
|||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
u_VRControllerState001_t u_pControllerState;
|
||||
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
||||
params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr );
|
||||
params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr );
|
||||
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -248,7 +248,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetControllerStateWithPose( void *args )
|
|||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
u_VRControllerState001_t u_pControllerState;
|
||||
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
||||
params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose );
|
||||
params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose );
|
||||
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -265,7 +265,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId );
|
||||
params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -273,7 +273,7 @@ NTSTATUS IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
|
||||
params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -281,7 +281,7 @@ NTSTATUS IVRSystem_IVRSystem_005_CaptureInputFocus( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_005_CaptureInputFocus_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->CaptureInputFocus( );
|
||||
params->_ret = iface->CaptureInputFocus( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -297,7 +297,7 @@ NTSTATUS IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( void *arg
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( );
|
||||
params->_ret = iface->IsInputFocusCapturedByAnotherProcess( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -305,7 +305,7 @@ NTSTATUS IVRSystem_IVRSystem_005_DriverDebugRequest( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_005_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_005_DriverDebugRequest_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize );
|
||||
params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue