Ejemplo n.º 1
0
        public IMouseInput MoveMouseToVirtualDesktop(int absoluteX, int absoluteY)
        {
            var builder = new InputBuilder();

            builder.AddAbsoluteMouseMoveOnVirtualDesktop(absoluteX, absoluteY);
            NativeHelper.SendInput((uint)builder.Count(), builder.ToArray(), Marshal.SizeOf(typeof(Input)));
            return(this);
        }