26 lines
1.2 KiB
C#
26 lines
1.2 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Viveport.Internal.Arcade
|
|
{
|
|
internal class Session
|
|
{
|
|
[DllImport("viveport_api", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_IsReady")]
|
|
internal static extern void IsReady(SessionCallback callback);
|
|
|
|
[DllImport("viveport_api64", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_IsReady")]
|
|
internal static extern void IsReady_64(SessionCallback callback);
|
|
|
|
[DllImport("viveport_api", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_Start")]
|
|
internal static extern void Start(SessionCallback callback);
|
|
|
|
[DllImport("viveport_api64", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_Start")]
|
|
internal static extern void Start_64(SessionCallback callback);
|
|
|
|
[DllImport("viveport_api", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_Stop")]
|
|
internal static extern void Stop(SessionCallback callback);
|
|
|
|
[DllImport("viveport_api64", CallingConvention = CallingConvention.Cdecl, EntryPoint = "IViveportArcadeSession_Stop")]
|
|
internal static extern void Stop_64(SessionCallback callback);
|
|
}
|
|
}
|