Beispiel #1
0
 private static void MouseFunction(uint flag)
 {
     Structs.INPUT ıNPUT = default(Structs.INPUT);
     ıNPUT.Type             = 0u;
     ıNPUT.Data.Mouse.Flags = flag;
     WinAPI.SendInput(1u, ref ıNPUT, Marshal.SizeOf(default(Structs.INPUT)));
 }
Beispiel #2
0
 internal static extern uint SendInput(uint nInputs, ref Structs.INPUT pInputs, int cbSize);