From 3abaed0f22fb8a0beec7df511738a14255ba25b3 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 21 Oct 2009 21:00:56 +0200 Subject: [PATCH] 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 d5607730b92..d3214f7956f 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 516f02770ed..66d1e9baa86 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 fcf31f0f3ae..85577c20b42 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)