Author: akhaldi
Date: Wed Mar 5 12:46:34 2014
New Revision: 62431
URL:
http://svn.reactos.org/svn/reactos?rev=62431&view=rev
Log:
[WINMM]
* Mark as hotpatchable.
CORE-7959
Modified:
trunk/reactos/dll/win32/winmm/CMakeLists.txt
trunk/reactos/dll/win32/winmm/joystick.c
Modified: trunk/reactos/dll/win32/winmm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winmm/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/winmm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winmm/CMakeLists.txt [iso-8859-1] Wed Mar 5 12:46:34 2014
@@ -22,7 +22,7 @@
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)
Modified: trunk/reactos/dll/win32/winmm/joystick.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winmm/joystick.c…
==============================================================================
--- trunk/reactos/dll/win32/winmm/joystick.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winmm/joystick.c [iso-8859-1] Wed Mar 5 12:46:34 2014
@@ -123,7 +123,7 @@
/**************************************************************************
* joyGetNumDevs [WINMM.@]
*/
-UINT WINAPI joyGetNumDevs(void)
+UINT WINAPI DECLSPEC_HOTPATCH joyGetNumDevs(void)
{
UINT ret = 0;
int i;
@@ -139,7 +139,7 @@
/**************************************************************************
* 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 @@
/**************************************************************************
* 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 @@
/**************************************************************************
* joyGetPosEx [WINMM.@]
*/
-MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
+MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
{
TRACE("(%d, %p);\n", wID, lpInfo);