Proton/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp
2024-02-15 15:53:28 +02:00

104 lines
5.1 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( void *args )
{
struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *params = (struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_Sync( void *args )
{
struct IVRSettings_IVRSettings_001_Sync_params *params = (struct IVRSettings_IVRSettings_001_Sync_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
params->_ret = iface->Sync( params->bForce, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_GetBool( void *args )
{
struct IVRSettings_IVRSettings_001_GetBool_params *params = (struct IVRSettings_IVRSettings_001_GetBool_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->bDefaultValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_SetBool( void *args )
{
struct IVRSettings_IVRSettings_001_SetBool_params *params = (struct IVRSettings_IVRSettings_001_SetBool_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_GetInt32( void *args )
{
struct IVRSettings_IVRSettings_001_GetInt32_params *params = (struct IVRSettings_IVRSettings_001_GetInt32_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->nDefaultValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_SetInt32( void *args )
{
struct IVRSettings_IVRSettings_001_SetInt32_params *params = (struct IVRSettings_IVRSettings_001_SetInt32_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_GetFloat( void *args )
{
struct IVRSettings_IVRSettings_001_GetFloat_params *params = (struct IVRSettings_IVRSettings_001_GetFloat_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->flDefaultValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_SetFloat( void *args )
{
struct IVRSettings_IVRSettings_001_SetFloat_params *params = (struct IVRSettings_IVRSettings_001_SetFloat_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_GetString( void *args )
{
struct IVRSettings_IVRSettings_001_GetString_params *params = (struct IVRSettings_IVRSettings_001_GetString_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->pchDefaultValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_SetString( void *args )
{
struct IVRSettings_IVRSettings_001_SetString_params *params = (struct IVRSettings_IVRSettings_001_SetString_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_RemoveSection( void *args )
{
struct IVRSettings_IVRSettings_001_RemoveSection_params *params = (struct IVRSettings_IVRSettings_001_RemoveSection_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->RemoveSection( params->pchSection, params->peError );
return 0;
}
NTSTATUS IVRSettings_IVRSettings_001_RemoveKeyInSection( void *args )
{
struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params *params = (struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params *)args;
struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side;
iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError );
return 0;
}