Files
SteamTools/source/SteamTool.Steam4NET/autogen/IClientStreamLauncher.cs
T
rmbgame 798355e342 更新目录结构
新增反代脚本只对Steam内置浏览器生效的选项
2021-01-06 04:30:56 +08:00

34 lines
1.1 KiB
C#

// This file is automatically generated.
using System;
using System.Text;
using System.Runtime.InteropServices;
namespace Steam4NET
{
[StructLayout(LayoutKind.Sequential,Pack=4)]
public class IClientStreamLauncherVTable
{
public IntPtr StartStreaming0;
public IntPtr StopStreaming1;
private IntPtr DTorIClientStreamLauncher2;
};
[InteropHelp.InterfaceVersion("CLIENTSTREAMLAUNCHER_INTERFACE_VERSION001")]
public class IClientStreamLauncher : InteropHelp.NativeWrapper<IClientStreamLauncherVTable>
{
[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate EStreamLauncherResult NativeStartStreamingS( IntPtr thisptr, string cszFilePath );
public EStreamLauncherResult StartStreaming( string cszFilePath )
{
return this.GetFunction<NativeStartStreamingS>( this.Functions.StartStreaming0 )( this.ObjectAddress, cszFilePath );
}
[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeStopStreaming( IntPtr thisptr );
public void StopStreaming( )
{
this.GetFunction<NativeStopStreaming>( this.Functions.StopStreaming1 )( this.ObjectAddress );
}
};
}