public int SetProperty(string name, object value) { ShadowPlayApi.Args.PropertyArgs args = new ShadowPlayApi.Args.PropertyArgs { api_version = 0x10058, name = name, value = value }; return(api.SetProperty(hProxyInterface, ref args)); }
public object GetProperty(string name) { ShadowPlayApi.Args.PropertyArgs args = new ShadowPlayApi.Args.PropertyArgs { api_version = 0x10058, name = name, }; api.GetProperty(hProxyInterface, ref args); string s = args.value?.ToString(); return(args.value); }