2023-09-29 12:28:17 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 14:08:49 +03:00
|
|
|
|
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_LoadRenderModel( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-09-30 11:48:58 +03:00
|
|
|
u_RenderModel_t_090 u_pRenderModel;
|
|
|
|
if (params->pRenderModel) u_pRenderModel = *params->pRenderModel;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->pRenderModel ? &u_pRenderModel : nullptr );
|
2023-09-30 11:48:58 +03:00
|
|
|
if (params->pRenderModel) *params->pRenderModel = u_pRenderModel;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_FreeRenderModel( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-09-30 11:48:58 +03:00
|
|
|
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;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelName( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelCount( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetRenderModelCount( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|