2023-09-29 11:28:17 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 13:08:49 +02:00
|
|
|
|
2023-11-07 20:56:28 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *params = (struct IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->FreeTextureD3D11( params->pD3D11Texture2D );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelName( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelCount( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRenderModelCount( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentCount( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentCount( params->pchRenderModelName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentName( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentStateForDevicePath( params->pchRenderModelName, params->pchComponentName, params->devicePath, params->pState, params->pComponentState );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentState( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
|
|
|
u_VRControllerState001_t u_pControllerState;
|
|
|
|
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( void *args )
|
2018-10-23 19:30:09 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRenderModelErrorNameFromEnum( params->error );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-10-23 19:30:09 +02:00
|
|
|
}
|
|
|
|
|