mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[WINMM]
* Mark as hotpatchable. CORE-7959 svn path=/trunk/; revision=62431
This commit is contained in:
parent
ec1dcd341e
commit
eb5a260b2e
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue