private static extern CursorPosFun SetCursorPosCallback64(IntPtr window, CursorPosFun cbfun);
public static void SetCursorPosCallback(IntPtr window, CursorPosFun cbfun) { currentCursorPosFun = cbfun; _SetCursorPosCallback(window, currentCursorPosFun); }
internal static CursorPosFun SetCursorPosCallback(IntPtr window, CursorPosFun cbfun) { if (!Environment.Is64BitProcess) { return SetCursorPosCallback32(window, cbfun); } else { return SetCursorPosCallback64(window, cbfun); } }
private static extern void _SetCursorPosCallback(IntPtr window, CursorPosFun cbfun);