Maarten Lankhorst : winmm: Remove timeGetTime.
Alexandre Julliard
julliard at winehq.org
Mon Apr 12 09:54:10 CDT 2010
Module: wine
Branch: master
Commit: 137469479c9645d3ce192638ac00fb522f864949
URL: http://source.winehq.org/git/wine.git/?a=commit;h=137469479c9645d3ce192638ac00fb522f864949
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Wed Apr 7 18:57:06 2010 +0200
winmm: Remove timeGetTime.
---
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)
More information about the wine-cvs
mailing list