Exemplo n.º 1
0
        /// <summary>Sends all queued commands to windows.  Generally use SendStringKeys instead; this is only for low level control</summary>
        public virtual bool SendQueuedOutput()
        {
            Windows.tagINPUT[] send = m_Output.ToArray();
            int entries             = send.Length;

            m_Output.Clear();
            return(entries == Windows.SendInput((uint)entries, send, Marshal.SizeOf(typeof(Windows.tagINPUT))));
        }