From: Christoph von Wittich Date: Sun, 3 Aug 2014 05:38:37 +0000 (+0000) Subject: user32: Make GetRegisteredRawInputDevices hotpatchable. X-Git-Tag: backups/0.3.17@66124~848 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=45e950d75c1a392236ecab9ef6d5edcf1779c760 user32: Make GetRegisteredRawInputDevices hotpatchable. 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 --- diff --git a/reactos/win32ss/user/user32/misc/stubs.c b/reactos/win32ss/user/user32/misc/stubs.c index f3e4926b32d..0f4617bc330 100644 --- a/reactos/win32ss/user/user32/misc/stubs.c +++ b/reactos/win32ss/user/user32/misc/stubs.c @@ -346,6 +346,7 @@ GetRawInputDeviceList( */ UINT WINAPI +DECLSPEC_HOTPATCH GetRegisteredRawInputDevices( PRAWINPUTDEVICE pRawInputDevices, PUINT puiNumDevices,