Beispiel #1
0
        public int BindWindow(int hwnd, DisplayBindKey display, MouseBindKey mouse, KeypadBindKey keypad, int added, int mode)
        {
            object[] args =
            {
                hwnd, (int)display, (int)mouse, (int)keypad, added, mode
            };
            var result = obj.InvokeMember("BindWindow", BindingFlags.InvokeMethod, null, obj_object, args);

            return((int)result);
        }
Beispiel #2
0
 public static IDisposable BindWindow(this Lwsoft3 lw, int hwnd,
                                      DisplayBindKey display, MouseBindKey mouse, KeypadBindKey keypad, int added)
 {
     lw.BindWindow(hwnd, display, mouse, keypad, added, 0);
     return(new BindingDisposable(lw));
 }