public static double Update(IntPtr data) { Measure measure = (Measure)GCHandle.FromIntPtr(data).Target; return(measure.Update()); }
public static void Reload(IntPtr data, IntPtr rm, ref double maxValue) { Measure measure = (Measure)GCHandle.FromIntPtr(data).Target; measure.Reload(new Rainmeter.API(rm), ref maxValue); }