user: add GetRawInputDeviceList stub

L. Rahyen research at science.su
Thu Oct 12 19:59:26 CDT 2006


Add missing stub to user32.dll.so - without it some games (like Postal 2 and 
some others) cannot run. It seems that GetRawInputDeviceList is useless thing 
in most cases because all these games works almost perfectly with this stub.


--- dlls/user/input.c   2006-10-02 18:03:52.000000000 +0000
+++ dlls/user/input.c~  2006-10-02 18:02:15.000000000 +0000
@@ -313,6 +313,19 @@
     return ret;
 }

+/****************************************************************************
+ *              GetRawInputDeviceList (USER32.@)
+ */
+typedef struct tagRAWINPUTDEVICELIST {
+    HANDLE hDevice;
+    DWORD dwType;
+} RAWINPUTDEVICELIST, *PRAWINPUTDEVICELIST;
+
+UINT WINAPI GetRawInputDeviceList(PRAWINPUTDEVICELIST pRawInputDeviceList, 
PUINT puiNumDevices, UINT cbSize)
+{
+    FIXME("user: GetRawInputDeviceList stub");
+    return NULL;
+}

 /******************************************************************
  *              GetLastInputInfo (USER32.@)
--- dlls/user/user32.spec       2006-10-02 18:06:21.000000000 +0000
+++ dlls/user/user32.spec~      2006-10-02 18:09:01.000000000 +0000
@@ -304,6 +304,7 @@
 @ stdcall GetKeyboardType(long)
 @ stdcall GetLastActivePopup(long)
 @ stdcall GetLastInputInfo(ptr)
+@ stdcall GetRawInputDeviceList(ptr long long)
 # @ stub GetLayeredWindowAttributes
 # @ stub GetListBoxInfo
 @ stdcall GetMenu(long)



More information about the wine-patches mailing list