Beispiel #1
0
 public static uint SendInput(INPUT[] inputs)
 {
     if (inputs.Length > 0)
     {
         return(Api_User32.SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(inputs[0])));
     }
     else
     {
         return(0);
     }
 }