Exemple #1
0
 public static void SendKeyToHandles(Virtual_Keys.VirtualKeys key, bool down, IntPtr[] handles, params IntPtr[] Exlusions)
 {
     foreach (IntPtr handle in handles)
     {
         if (!Exlusions.Contains(handle))
         {
             PressKey((int)key, down, handle);
         }
     }
 }
Exemple #2
0
 public static void PressKey(Virtual_Keys.VirtualKeys key, bool down, IntPtr Handle)
 {
     SendMessage(Handle, (uint)(down ? 0x100 : 0x101), new IntPtr((int)key), new IntPtr(0));
 }
Exemple #3
0
 public static void SendKeyToAllFlash(Virtual_Keys.VirtualKeys key, bool down, params IntPtr[] Exlusions)
 {
     SendKeyToHandles(key, down, GetAllFlashPointers(), Exlusions);
 }