[PATCH 2/2] setupapi: Add DECLSPEC_HOTPATCH to SetupDiEnumDeviceInfo().
Andrey Gusev
andrey.goosev at gmail.com
Tue Apr 23 06:28:49 CDT 2019
Supersedes 162858
Hitman: Sniper Challenge requires this function to be hotpatchable.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46971
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/setupapi/devinst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 45f4df7346..7440465748 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -1707,7 +1707,7 @@ BOOL WINAPI SetupDiDeleteDeviceInterfaceData(HDEVINFO devinfo, SP_DEVICE_INTERFA
/***********************************************************************
* SetupDiEnumDeviceInfo (SETUPAPI.@)
*/
-BOOL WINAPI SetupDiEnumDeviceInfo(HDEVINFO devinfo, DWORD index, SP_DEVINFO_DATA *device_data)
+BOOL WINAPI DECLSPEC_HOTPATCH SetupDiEnumDeviceInfo(HDEVINFO devinfo, DWORD index, SP_DEVINFO_DATA *device_data)
{
struct DeviceInfoSet *set;
struct device *device;
--
2.20.1
More information about the wine-devel
mailing list