[WINMM]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 5 Mar 2014 12:46:34 +0000 (12:46 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 5 Mar 2014 12:46:34 +0000 (12:46 +0000)
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62431

reactos/dll/win32/winmm/CMakeLists.txt
reactos/dll/win32/winmm/joystick.c

index 2394e2c..507427c 100644 (file)
@@ -22,7 +22,7 @@ add_library(winmm SHARED
     winmm_res.rc
     ${CMAKE_CURRENT_BINARY_DIR}/winmm.def)
 
-set_module_type(winmm win32dll)
+set_module_type(winmm win32dll HOTPATCHABLE)
 target_link_libraries(winmm wine ${PSEH_LIB})
 add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll)
 add_pch(winmm winemm.h SOURCE)
index e8232ce..ed6054b 100644 (file)
@@ -123,7 +123,7 @@ MMRESULT WINAPI joyConfigChanged(DWORD flags)
 /**************************************************************************
  *                             joyGetNumDevs           [WINMM.@]
  */
-UINT WINAPI joyGetNumDevs(void)
+UINT WINAPI DECLSPEC_HOTPATCH joyGetNumDevs(void)
 {
     UINT       ret = 0;
     int                i;
@@ -139,7 +139,7 @@ UINT WINAPI joyGetNumDevs(void)
 /**************************************************************************
  *                             joyGetDevCapsW          [WINMM.@]
  */
-MMRESULT WINAPI joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
+MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
 {
     if (wID >= MAXJOYSTICK)    return JOYERR_PARMS;
     if (!JOY_LoadDriver(wID))  return MMSYSERR_NODRIVER;
@@ -153,7 +153,7 @@ MMRESULT WINAPI joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
 /**************************************************************************
  *                             joyGetDevCapsA          [WINMM.@]
  */
-MMRESULT WINAPI joyGetDevCapsA(UINT_PTR wID, LPJOYCAPSA lpCaps, UINT wSize)
+MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetDevCapsA(UINT_PTR wID, LPJOYCAPSA lpCaps, UINT wSize)
 {
     JOYCAPSW   jcw;
     MMRESULT   ret;
@@ -202,7 +202,7 @@ MMRESULT WINAPI joyGetDevCapsA(UINT_PTR wID, LPJOYCAPSA lpCaps, UINT wSize)
 /**************************************************************************
  *                              joyGetPosEx             [WINMM.@]
  */
-MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
+MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
 {
     TRACE("(%d, %p);\n", wID, lpInfo);