コード例 #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;
 }
コード例 #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);
        }