diff -r fb4f80d5cf57 -r 8b2a3da54187 Win32RawInput.cs --- a/Win32RawInput.cs Sat Dec 06 01:53:55 2014 +0100 +++ b/Win32RawInput.cs Sat Dec 06 02:46:46 2014 +0100 @@ -13,7 +13,7 @@ public extern static uint GetRawInputData(IntPtr hRawInput, uint uiCommand, IntPtr pData, ref uint pcbSize, uint cbSizeHeader); [DllImport("User32.dll", SetLastError=true)] - public extern static int GetRawInputDeviceInfo(IntPtr hDevice, uint uiCommand, IntPtr pData, ref uint pcbSize); + public extern static int GetRawInputDeviceInfoW(IntPtr hDevice, uint uiCommand, IntPtr pData, ref uint pcbSize); }