[PATCH 2/2] [MMSystem]: create a real function for MMSYSTEM.timeGetTime

Eric Pouech eric.pouech at orange.fr
Sat Oct 17 05:10:17 CDT 2009




A+
---

 dlls/winmm/mmsystem.c    |    8 ++++++++
 dlls/winmm/mmsystem.spec |    2 +-
 dlls/winmm/time.c        |    1 -
 3 files changed, 9 insertions(+), 2 deletions(-)


diff --git a/dlls/winmm/mmsystem.c b/dlls/winmm/mmsystem.c
index d560773..d3214f7 100644
--- a/dlls/winmm/mmsystem.c
+++ b/dlls/winmm/mmsystem.c
@@ -2509,6 +2509,14 @@ MMRESULT16 WINAPI timeEndPeriod16(UINT16 wPeriod)
     return timeEndPeriod(wPeriod);
 }
 
+/**************************************************************************
+ * 				timeGetTime    [MMSYSTEM.607]
+ */
+DWORD WINAPI timeGetTime16(void)
+{
+    return timeGetTime();
+}
+
 /* ###################################################
  * #                     JOYSTICK                    #
  * ###################################################
diff --git a/dlls/winmm/mmsystem.spec b/dlls/winmm/mmsystem.spec
index 516f027..66d1e9b 100644
--- a/dlls/winmm/mmsystem.spec
+++ b/dlls/winmm/mmsystem.spec
@@ -103,7 +103,7 @@
 604    pascal  timeGetDevCaps(ptr word) timeGetDevCaps16
 605    pascal  timeBeginPeriod(word) timeBeginPeriod16
 606    pascal  timeEndPeriod(word) timeEndPeriod16
-607    pascal  timeGetTime() timeGetTime
+607    pascal  timeGetTime() timeGetTime16
 701    pascal  mciSendCommand(word word long long) mciSendCommand16
 702    pascal  mciSendString(str ptr word word) mciSendString16
 703    pascal  mciGetDeviceID(ptr) mciGetDeviceID16
diff --git a/dlls/winmm/time.c b/dlls/winmm/time.c
index fcf31f0..85577c2 100644
--- a/dlls/winmm/time.c
+++ b/dlls/winmm/time.c
@@ -438,7 +438,6 @@ MMRESULT WINAPI timeEndPeriod(UINT wPeriod)
 }
 
 /**************************************************************************
- * 				timeGetTime    [MMSYSTEM.607]
  * 				timeGetTime    [WINMM.@]
  */
 DWORD WINAPI timeGetTime(void)






More information about the wine-patches mailing list