private static extern KeyFun SetKeyCallback32(IntPtr window, KeyFun cbfun);
public static void SetKeyCallback(IntPtr window, KeyFun cbfun) { currentKeyFun = cbfun; _SetKeyCallback(window, currentKeyFun); }
internal static KeyFun SetKeyCallback(IntPtr window, KeyFun cbfun) { if (!Environment.Is64BitProcess) { return SetKeyCallback32(window, cbfun); } else { return SetKeyCallback64(window, cbfun); } }
private static extern void _SetKeyCallback(IntPtr window, KeyFun cbfun);