Olivier F. R. Dierick : xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition.

Alexandre Julliard julliard at winehq.org
Tue Feb 28 03:45:55 CST 2017


Module: wine
Branch: oldstable
Commit: ac340f82bc73209a38d1d9c9f3c4e12bbf87bdfe
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ac340f82bc73209a38d1d9c9f3c4e12bbf87bdfe

Author: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Date:   Fri Jan  6 18:17:55 2017 +0100

xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition.

Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 1640c9ce623ba00e52c197a31650d4dfa9d7bde7)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/xinput1_3/xinput1_3_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c
index d5d6147..358116a 100644
--- a/dlls/xinput1_3/xinput1_3_main.c
+++ b/dlls/xinput1_3/xinput1_3_main.c
@@ -42,7 +42,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
     return TRUE;
 }
 
-void WINAPI XInputEnable(BOOL enable)
+void WINAPI DECLSPEC_HOTPATCH XInputEnable(BOOL enable)
 {
     /* Setting to false will stop messages from XInputSetState being sent
     to the controllers. Setting to true will send the last vibration




More information about the wine-cvs mailing list