2023-09-29 11:28:17 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 13:08:49 +02:00
|
|
|
|
2023-11-07 20:56:28 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_FindOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_FindOverlay_params *params = (struct IVROverlay_IVROverlay_011_FindOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_CreateOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_011_CreateOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_DestroyOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_011_DestroyOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->DestroyOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetHighQualityOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetHighQualityOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetHighQualityOverlay( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayKey( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayKey_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayName( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayName_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayImageData( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayImageData_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayErrorNameFromEnum( params->error );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRenderingPid( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayRenderingPid( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFlag( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayFlag_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayFlag( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayFlag_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayColor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayColor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAlpha( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAlpha( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayWidthInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayWidthInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureBounds( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureBounds( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformType( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ShowOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_011_ShowOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShowOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_HideOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_HideOverlay_params *params = (struct IVROverlay_IVROverlay_011_HideOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->HideOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_IsOverlayVisible( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_011_IsOverlayVisible_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_PollNextOverlayEvent( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
|
|
|
u_VREvent_t_0918 u_pEvent;
|
|
|
|
if (params->pEvent) u_pEvent = *params->pEvent;
|
|
|
|
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pEvent) *params->pEvent = u_pEvent;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayInputMethod( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayInputMethod( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayMouseScale( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayMouseScale( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ComputeOverlayIntersection( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_IsHoverTargetOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetGamepadFocusOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetGamepadFocusOverlay( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetGamepadFocusOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayNeighbor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ClearOverlayTexture( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRaw( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayRaw_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFromFile( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-02 23:13:55 +02:00
|
|
|
char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath );
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath );
|
2023-10-02 23:13:55 +02:00
|
|
|
vrclient_free_path( u_pchFilePath );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTexture( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTexture_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_CreateDashboardOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_IsDashboardVisible( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_011_IsDashboardVisible_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsDashboardVisible( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_IsActiveDashboardOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ShowDashboard( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_011_ShowDashboard_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ShowDashboard( params->pchOverlayToShow );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetPrimaryDashboardDevice( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboard( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_011_ShowKeyboard_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboardForOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_GetKeyboardText( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_011_GetKeyboardText_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetKeyboardText( params->pchText, params->cchText );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_HideKeyboard( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_011_HideKeyboard_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->HideKeyboard( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|