public static TmRetroInfo CreateFromTRetroInfoEx(TmNativeDefs.TRetroInfoEx info) { var tmRetroInfo = new TmRetroInfo { Name = info.Name, Description = info.Description, Period = info.Period, Capacity = info.Capacity, StartTime = DateUtil.GetDateTimeFromTimestamp(info.Start), EndTime = DateUtil.GetDateTimeFromTimestamp(info.Stop), RecordsCount = info.RecCount, Version = info.Version, AppendSpeed = info.AppendTicks, SizeMb = info.SizeMb, MaxSizeMb = info.MaxMb, LastRecordSize = info.LastRecSize, TmType = ((TmNativeDefs.TmDataTypes)info.Type).ToTmType() }; return(tmRetroInfo); }
public static extern Int16 tmcRetroInfoEx(Int32 cid, UInt16 id, ref TmNativeDefs.TRetroInfoEx info);
public Int16 TmcRetroInfoEx(Int32 cid, UInt16 id, ref TmNativeDefs.TRetroInfoEx info) { return(tmcRetroInfoEx(cid, id, ref info)); }