user32: Make GetRegisteredRawInputDevices hotpatchable.
authorChristoph von Wittich <christoph_vw@reactos.org>
Sun, 3 Aug 2014 05:38:37 +0000 (05:38 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sun, 3 Aug 2014 05:38:37 +0000 (05:38 +0000)
Steam tries to hook this function and crashes without DECLSPEC_HOTPATCH.
See http://bugs.winehq.org/show_bug.cgi?id=35361#c48
patch by Stefan Dösinger stefan@codeweavers.com

svn path=/trunk/; revision=63796

reactos/win32ss/user/user32/misc/stubs.c

index f3e4926..0f4617b 100644 (file)
@@ -346,6 +346,7 @@ GetRawInputDeviceList(
  */
 UINT
 WINAPI
+DECLSPEC_HOTPATCH
 GetRegisteredRawInputDevices(
     PRAWINPUTDEVICE pRawInputDevices,
     PUINT puiNumDevices,