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_004_FindOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_FindOverlay_params *params = (struct IVROverlay_IVROverlay_004_FindOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_CreateOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_004_CreateOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_DestroyOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_004_DestroyOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetHighQualityOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetHighQualityOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayKey( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayKey_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayName( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayName_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayImageData( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayImageData_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayErrorNameFromEnum( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayFlag( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayFlag_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayFlag( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayFlag_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayColor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayColor( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayAlpha( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayAlpha( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayGamma( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayGamma_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma );
|
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_004_GetOverlayGamma( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayGamma_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma );
|
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_004_SetOverlayWidthInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayWidthInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayAutoCurveDistanceRangeInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayAutoCurveDistanceRangeInMeters( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayTextureBounds( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayTextureBounds( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayTransformType( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayTransformAbsolute( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayTransformAbsolute( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayTransformTrackedDeviceRelative( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayTransformTrackedDeviceRelative( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_ShowOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_004_ShowOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_HideOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_HideOverlay_params *params = (struct IVROverlay_IVROverlay_004_HideOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_IsOverlayVisible( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_004_IsOverlayVisible_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_PollNextOverlayEvent( void *args )
|
2019-09-18 17:26:40 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side;
|
|
|
|
u_VREvent_t_097 u_pEvent;
|
|
|
|
if (params->pEvent) u_pEvent = *params->pEvent;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr );
|
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_004_GetOverlayInputMethod( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayInputMethod( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetOverlayMouseScale( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayMouseScale( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_ComputeOverlayIntersection( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_HandleControllerOverlayInteractionAsMouse( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_ClearOverlayTexture( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayRaw( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayRaw_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetOverlayFromFile( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_CreateDashboardOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_IsDashboardVisible( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_004_IsDashboardVisible_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_IsActiveDashboardOverlay( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_SetDashboardOverlaySceneProcess( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_GetDashboardOverlaySceneProcess( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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_004_ShowDashboard( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlay_IVROverlay_004_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_004_ShowDashboard_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)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
|
|
|
}
|
|
|
|
|