[XINPUT1_3]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 5 Mar 2014 14:31:26 +0000 (14:31 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 5 Mar 2014 14:31:26 +0000 (14:31 +0000)
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62434

reactos/dll/win32/xinput1_3/CMakeLists.txt
reactos/dll/win32/xinput1_3/xinput1_3_main.c

index 6ec93c2..4dd157b 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/xinput1_3.def)
 
 add_library(xinput1_3 SHARED ${SOURCE} version.rc)
-set_module_type(xinput1_3 win32dll)
+set_module_type(xinput1_3 win32dll HOTPATCHABLE)
 target_link_libraries(xinput1_3 wine)
 add_importlibs(xinput1_3 msvcrt kernel32 ntdll)
 add_cd_file(TARGET xinput1_3 DESTINATION reactos/system32 FOR all)
index fa31d0f..c8595e2 100644 (file)
@@ -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;