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