mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 21:27:47 +02:00

committed by
Arkadiusz Hiler

parent
f5ef49cf29
commit
5190d26e7e
@ -6,7 +6,7 @@ NTSTATUS IVRApplications_IVRApplications_005_AddApplicationManifest( void *args
|
||||
struct IVRApplications_IVRApplications_005_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_005_AddApplicationManifest_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath );
|
||||
params->_ret = (uint32_t)iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary );
|
||||
params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary );
|
||||
vrclient_free_path( u_pchApplicationManifestFullPath );
|
||||
return 0;
|
||||
}
|
||||
@ -16,7 +16,7 @@ NTSTATUS IVRApplications_IVRApplications_005_RemoveApplicationManifest( void *ar
|
||||
struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath );
|
||||
params->_ret = (uint32_t)iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath );
|
||||
params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath );
|
||||
vrclient_free_path( u_pchApplicationManifestFullPath );
|
||||
return 0;
|
||||
}
|
||||
@ -25,7 +25,7 @@ NTSTATUS IVRApplications_IVRApplications_005_IsApplicationInstalled( void *args
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey );
|
||||
params->_ret = iface->IsApplicationInstalled( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationCount( void *args )
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationCount_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetApplicationCount( );
|
||||
params->_ret = iface->GetApplicationCount( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByIndex( void *arg
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( void
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ NTSTATUS IVRApplications_IVRApplications_005_LaunchApplication( void *args )
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_005_LaunchApplication_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey );
|
||||
params->_ret = iface->LaunchApplication( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ NTSTATUS IVRApplications_IVRApplications_005_LaunchTemplateApplication( void *ar
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params = (struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys );
|
||||
params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -73,7 +73,7 @@ NTSTATUS IVRApplications_IVRApplications_005_LaunchDashboardOverlay( void *args
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey );
|
||||
params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@ NTSTATUS IVRApplications_IVRApplications_005_CancelApplicationLaunch( void *args
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->CancelApplicationLaunch( params->pchAppKey );
|
||||
params->_ret = iface->CancelApplicationLaunch( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -89,7 +89,7 @@ NTSTATUS IVRApplications_IVRApplications_005_IdentifyApplication( void *args )
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_005_IdentifyApplication_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey );
|
||||
params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationProcessId( void *args
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey );
|
||||
params->_ret = iface->GetApplicationProcessId( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( v
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error );
|
||||
params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyString( void
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError );
|
||||
params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -121,7 +121,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyBool( void *a
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError );
|
||||
params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -129,7 +129,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyUint64( void
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError );
|
||||
params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -137,7 +137,7 @@ NTSTATUS IVRApplications_IVRApplications_005_SetApplicationAutoLaunch( void *arg
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch );
|
||||
params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -145,7 +145,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationAutoLaunch( void *arg
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey );
|
||||
params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetStartingApplication( void *args
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_005_GetStartingApplication_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetTransitionState( void *args )
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_005_GetTransitionState_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->GetTransitionState( );
|
||||
params->_ret = iface->GetTransitionState( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -169,7 +169,7 @@ NTSTATUS IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( v
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey );
|
||||
params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -177,7 +177,7 @@ NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameF
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state );
|
||||
params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -185,7 +185,7 @@ NTSTATUS IVRApplications_IVRApplications_005_IsQuitUserPromptRequested( void *ar
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (bool)iface->IsQuitUserPromptRequested( );
|
||||
params->_ret = iface->IsQuitUserPromptRequested( );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -193,7 +193,7 @@ NTSTATUS IVRApplications_IVRApplications_005_LaunchInternalProcess( void *args )
|
||||
{
|
||||
struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params *)args;
|
||||
struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side;
|
||||
params->_ret = (uint32_t)iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory );
|
||||
params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user