Ejemplo n.º 1
0
 private static MouseApi.MouseKeybdHardwareInputUnion MouseInput(int x, int y, uint data, uint t, uint flag)
 {
     var mi = new MouseApi.MOUSEINPUT { dx = x, dy = y, mouseData = data, time = t, dwFlags = flag };
     var iu = new MouseApi.MouseKeybdHardwareInputUnion
     {
         mi = mi
     };
     return iu;
 }
Ejemplo n.º 2
0
        private static MouseApi.MouseKeybdHardwareInputUnion MouseInput(int x, int y, uint data, uint t, uint flag)
        {
            var mi = new MouseApi.MOUSEINPUT {
                dx = x, dy = y, mouseData = data, time = t, dwFlags = flag
            };
            var iu = new MouseApi.MouseKeybdHardwareInputUnion
            {
                mi = mi
            };

            return(iu);
        }