Vincent Povirk : xinput1_3: Make XInputGetState patchable.

Alexandre Julliard julliard at winehq.org
Mon Oct 28 15:13:03 CDT 2013


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Oct 25 16:18:24 2013 -0500

xinput1_3: Make XInputGetState patchable.

---

 dlls/xinput1_3/xinput1_3_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c
index a2a83dd..63f725b 100644
--- a/dlls/xinput1_3/xinput1_3_main.c
+++ b/dlls/xinput1_3/xinput1_3_main.c
@@ -65,7 +65,7 @@ DWORD WINAPI XInputSetState(DWORD dwUserIndex, XINPUT_VIBRATION* pVibration)
     return ERROR_BAD_ARGUMENTS;
 }
 
-DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
+DWORD WINAPI DECLSPEC_HOTPATCH XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
 {
     static int warn_once;
 




More information about the wine-cvs mailing list