Module: wine Branch: master Commit: 3abaed0f22fb8a0beec7df511738a14255ba25b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3abaed0f22fb8a0beec7df5117...
Author: Eric Pouech eric.pouech@orange.fr Date: Wed Oct 21 21:00:56 2009 +0200
winmm: Create a real function for MMSYSTEM.timeGetTime.
---
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)