[PATCH 1/6] winmm: Remove timeGetTime

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Apr 7 11:57:06 CDT 2010


---
 dlls/winmm/time.c     |   18 ------------------
 dlls/winmm/winmm.spec |    2 +-
 2 files changed, 1 insertions(+), 19 deletions(-)

diff --git a/dlls/winmm/time.c b/dlls/winmm/time.c
index 85577c2..ee835c7 100644
--- a/dlls/winmm/time.c
+++ b/dlls/winmm/time.c
@@ -436,21 +436,3 @@ MMRESULT WINAPI timeEndPeriod(UINT wPeriod)
     }
     return 0;
 }
-
-/**************************************************************************
- * 				timeGetTime    [WINMM.@]
- */
-DWORD WINAPI timeGetTime(void)
-{
-#if defined(COMMENTOUTPRIORTODELETING)
-    DWORD       count;
-
-    /* FIXME: releasing the win16 lock here is a temporary hack (I hope)
-     * that lets mciavi32.dll run correctly
-     */
-    if (pFnReleaseThunkLock) pFnReleaseThunkLock(&count);
-    if (pFnRestoreThunkLock) pFnRestoreThunkLock(count);
-#endif
-
-    return GetTickCount();
-}
diff --git a/dlls/winmm/winmm.spec b/dlls/winmm/winmm.spec
index 870b775..a1eaf81 100644
--- a/dlls/winmm/winmm.spec
+++ b/dlls/winmm/winmm.spec
@@ -147,7 +147,7 @@
 @ stdcall timeEndPeriod(long)
 @ stdcall timeGetDevCaps(ptr long)
 @ stdcall timeGetSystemTime(ptr long)
-@ stdcall timeGetTime()
+@ stdcall timeGetTime() kernel32.GetTickCount
 @ stdcall timeKillEvent(long)
 @ stdcall timeSetEvent(long long ptr long long)
 @ stdcall waveInAddBuffer(long ptr long)
-- 
1.7.0


--------------080403090805060707090108--



More information about the wine-patches mailing list