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 IVROverlayView_IVROverlayView_003_AcquireOverlayView( void *args )
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
|
|
|
|
u_VROverlayView_t u_pOverlayView;
|
|
|
|
if (params->pOverlayView) u_pOverlayView = *params->pOverlayView;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->AcquireOverlayView( params->ulOverlayHandle, params->pNativeDevice, params->pOverlayView ? &u_pOverlayView : nullptr, params->unOverlayViewSize );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pOverlayView) *params->pOverlayView = u_pOverlayView;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlayView_IVROverlayView_003_ReleaseOverlayView( void *args )
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
|
|
|
|
u_VROverlayView_t u_pOverlayView;
|
|
|
|
if (params->pOverlayView) u_pOverlayView = *params->pOverlayView;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ReleaseOverlayView( params->pOverlayView ? &u_pOverlayView : nullptr );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pOverlayView) *params->pOverlayView = u_pOverlayView;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlayView_IVROverlayView_003_PostOverlayEvent( void *args )
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params = (struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
|
2024-02-14 21:06:15 +01:00
|
|
|
u_VREvent_t_223 u_pvrEvent;
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pvrEvent) u_pvrEvent = *params->pvrEvent;
|
|
|
|
iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &u_pvrEvent : nullptr );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVROverlayView_IVROverlayView_003_IsViewingPermitted( void *args )
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params = (struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsViewingPermitted( params->ulOverlayHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|