private static extern ScrollFun SetSetScrollCallback32(IntPtr window, ScrollFun cbfun);
public static void SetScrollCallback(IntPtr window, ScrollFun cbfun) { currentScrollFun = cbfun; _SetScrollCallback(window, currentScrollFun); }
internal static ScrollFun SetSetScrollCallback(IntPtr window, ScrollFun cbfun) { if (!Environment.Is64BitProcess) { return SetSetScrollCallback32(window, cbfun); } else { return SetSetScrollCallback64(window, cbfun); } }
private static extern void _SetScrollCallback(IntPtr window, ScrollFun cbfun);