Yucom/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp
Paul Gofman 76369eb526 vrclient: Support v2.2.3.
CW-Bug-Id: #23412
2024-05-23 10:54:49 +03:00

47 lines
2.4 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS IVROverlayView_IVROverlayView_003_AcquireOverlayView( void *args )
{
struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *)args;
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;
params->_ret = iface->AcquireOverlayView( params->ulOverlayHandle, params->pNativeDevice, params->pOverlayView ? &u_pOverlayView : nullptr, params->unOverlayViewSize );
if (params->pOverlayView) *params->pOverlayView = u_pOverlayView;
return 0;
}
NTSTATUS IVROverlayView_IVROverlayView_003_ReleaseOverlayView( void *args )
{
struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *)args;
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;
params->_ret = iface->ReleaseOverlayView( params->pOverlayView ? &u_pOverlayView : nullptr );
if (params->pOverlayView) *params->pOverlayView = u_pOverlayView;
return 0;
}
NTSTATUS IVROverlayView_IVROverlayView_003_PostOverlayEvent( void *args )
{
struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params = (struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *)args;
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
u_VREvent_t_223 u_pvrEvent;
if (params->pvrEvent) u_pvrEvent = *params->pvrEvent;
iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &u_pvrEvent : nullptr );
return 0;
}
NTSTATUS IVROverlayView_IVROverlayView_003_IsViewingPermitted( void *args )
{
struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params = (struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *)args;
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
params->_ret = iface->IsViewingPermitted( params->ulOverlayHandle );
return 0;
}