Exemplo n.º 1
0
 public static extern uint GetRawInputData
 (
     IntPtr hRawInput,
     uint uiCommand,
     [Out] out RAWINPUT32 input,
     ref uint pcbSize,
     uint cbSizeHeader
 );
Exemplo n.º 2
0
 private KeyboardData()
 {
     if (IntPtr.Size == 4)
     {
         input32 = new RAWINPUT32();
     }
     else
     {
         input64 = new RAWINPUT64();
     }
 }
 private MouseData()
 {
     if (IntPtr.Size == 4)
         input32 = new RAWINPUT32();
     else
         input64 = new RAWINPUT64();
 }
 private KeyboardData()
 {
     if (IntPtr.Size == 4)
         input32 = new RAWINPUT32();
     else
         input64 = new RAWINPUT64();
 }