public static void RubberBandStretcher_SetTimeRatio(IntPtr rbs, double ratio) { if (IntPtr.Size == 8) { RubberBandNativeMethodsx64.RubberBandStretcher_SetTimeRatio(rbs, ratio); } else { RubberBandNativeMethodsWin32.RubberBandStretcher_SetTimeRatio(rbs, ratio); } }