Proton/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp

92 lines
4.6 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
NTSTATUS IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *params = (struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
params->_ret = (const char *)iface->GetSettingsErrorNameFromEnum( params->eError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_SetBool( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_SetBool_params *params = (struct IVRSettings_IVRSettings_003_SetBool_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_SetInt32( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_SetInt32_params *params = (struct IVRSettings_IVRSettings_003_SetInt32_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_SetFloat( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_SetFloat_params *params = (struct IVRSettings_IVRSettings_003_SetFloat_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_SetString( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_SetString_params *params = (struct IVRSettings_IVRSettings_003_SetString_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_GetBool( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_GetBool_params *params = (struct IVRSettings_IVRSettings_003_GetBool_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
params->_ret = (bool)iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_GetInt32( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_GetInt32_params *params = (struct IVRSettings_IVRSettings_003_GetInt32_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
params->_ret = (int32_t)iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_GetFloat( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_GetFloat_params *params = (struct IVRSettings_IVRSettings_003_GetFloat_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
params->_ret = (float)iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_GetString( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_GetString_params *params = (struct IVRSettings_IVRSettings_003_GetString_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_RemoveSection( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_RemoveSection_params *params = (struct IVRSettings_IVRSettings_003_RemoveSection_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->RemoveSection( params->pchSection, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}
NTSTATUS IVRSettings_IVRSettings_003_RemoveKeyInSection( void *args )
2020-03-18 21:50:17 +03:00
{
struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params *params = (struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params *)args;
struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side;
iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError );
return 0;
2020-03-18 21:50:17 +03:00
}