Proton/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp
2024-02-15 15:53:28 +02:00

44 lines
2.0 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Open( void *args )
{
struct IVRIOBuffer_IVRIOBuffer_001_Open_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Open_params *)args;
struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side;
params->_ret = iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer );
return 0;
}
NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Close( void *args )
{
struct IVRIOBuffer_IVRIOBuffer_001_Close_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Close_params *)args;
struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side;
params->_ret = iface->Close( params->ulBuffer );
return 0;
}
NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Read( void *args )
{
struct IVRIOBuffer_IVRIOBuffer_001_Read_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Read_params *)args;
struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side;
params->_ret = iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead );
return 0;
}
NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Write( void *args )
{
struct IVRIOBuffer_IVRIOBuffer_001_Write_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Write_params *)args;
struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side;
params->_ret = iface->Write( params->ulBuffer, params->pSrc, params->unBytes );
return 0;
}
NTSTATUS IVRIOBuffer_IVRIOBuffer_001_PropertyContainer( void *args )
{
struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *)args;
struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side;
params->_ret = iface->PropertyContainer( params->ulBuffer );
return 0;
}