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
|
|
|
|
2023-11-07 22:56:28 +03:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRApplications_IVRApplications_004_AddApplicationManifest( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_004_AddApplicationManifest_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-03 00:13:55 +03:00
|
|
|
char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath );
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary );
|
2023-10-03 00:13:55 +03:00
|
|
|
vrclient_free_path( u_pchApplicationManifestFullPath );
|
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 IVRApplications_IVRApplications_004_RemoveApplicationManifest( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-03 00:13:55 +03:00
|
|
|
char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath );
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath );
|
2023-10-03 00:13:55 +03:00
|
|
|
vrclient_free_path( u_pchApplicationManifestFullPath );
|
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 IVRApplications_IVRApplications_004_IsApplicationInstalled( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IsApplicationInstalled( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_GetApplicationCount( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationCount_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationCount( );
|
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 IVRApplications_IVRApplications_004_GetApplicationKeyByIndex( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
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 IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
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 IVRApplications_IVRApplications_004_LaunchApplication( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_004_LaunchApplication_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->LaunchApplication( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_LaunchDashboardOverlay( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_CancelApplicationLaunch( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->CancelApplicationLaunch( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_IdentifyApplication( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_004_IdentifyApplication_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_GetApplicationProcessId( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationProcessId( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error );
|
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 IVRApplications_IVRApplications_004_GetApplicationPropertyString( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError );
|
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 IVRApplications_IVRApplications_004_GetApplicationPropertyBool( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError );
|
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 IVRApplications_IVRApplications_004_GetApplicationPropertyUint64( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError );
|
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 IVRApplications_IVRApplications_004_SetApplicationAutoLaunch( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch );
|
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 IVRApplications_IVRApplications_004_GetApplicationAutoLaunch( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_GetStartingApplication( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_004_GetStartingApplication_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen );
|
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 IVRApplications_IVRApplications_004_GetTransitionState( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_004_GetTransitionState_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetTransitionState( );
|
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 IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey );
|
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 IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state );
|
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 IVRApplications_IVRApplications_004_IsQuitUserPromptRequested( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IsQuitUserPromptRequested( );
|
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 IVRApplications_IVRApplications_004_LaunchInternalProcess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|