mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
37785cfbd3
CW-Bug-Id: #22729
46 lines
2.3 KiB
C++
46 lines
2.3 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
|
|
#if 0
|
|
#pragma makedep unix
|
|
#endif
|
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_LoadRenderModel( void *args )
|
|
{
|
|
struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *)args;
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
u_RenderModel_t_090 u_pRenderModel;
|
|
if (params->pRenderModel) u_pRenderModel = *params->pRenderModel;
|
|
params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->pRenderModel ? &u_pRenderModel : nullptr );
|
|
if (params->pRenderModel) *params->pRenderModel = u_pRenderModel;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_FreeRenderModel( void *args )
|
|
{
|
|
struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *)args;
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
u_RenderModel_t_090 u_pRenderModel;
|
|
if (params->pRenderModel) u_pRenderModel = *params->pRenderModel;
|
|
iface->FreeRenderModel( params->pRenderModel ? &u_pRenderModel : nullptr );
|
|
if (params->pRenderModel) *params->pRenderModel = u_pRenderModel;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelName( void *args )
|
|
{
|
|
struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *)args;
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelCount( void *args )
|
|
{
|
|
struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *)args;
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
params->_ret = iface->GetRenderModelCount( );
|
|
return 0;
|
|
}
|
|
|