コード例 #1
0
ファイル: MouseWin32.cs プロジェクト: technoscavenger/WhiteX
 private static void SendInput(Input input)
 {
     // Added check for 32/64 bit
     if (IntPtr.Size == 4)
     {
         SendInput(1, ref input, Marshal.SizeOf(typeof(Input)));
     }
     else
     {
         var input64 = new Input64(input);
         SendInput64(1, ref input64, Marshal.SizeOf(typeof(Input)));
     }
 }
コード例 #2
0
ファイル: MouseWin32.cs プロジェクト: technoscavenger/WhiteX
 private static extern int SendInput64(int numberOfInputs, ref Input64 input, int structSize);
コード例 #3
0
ファイル: Mouse.cs プロジェクト: EricBlack/White
 static extern int SendInput64(int numberOfInputs, ref Input64 input, int structSize);
コード例 #4
0
ファイル: Mouse.cs プロジェクト: EricBlack/White
 private static void SendInput(Input input)
 {
     // Added check for 32/64 bit  
     if (IntPtr.Size == 4)
         SendInput(1, ref input, Marshal.SizeOf(typeof(Input)));
     else
     {
         var input64 = new Input64(input);
         SendInput64(1, ref input64, Marshal.SizeOf(typeof(Input)));
     }
 }