From 05e625fe3f3e6a6747725d03fcda95c5470726d3 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Tue, 20 Oct 2009 21:55:06 +0200 Subject: [PATCH] mmsystem: Create a real function for mciExecute. --- dlls/winmm/mci.c | 1 - dlls/winmm/mci16.c | 8 ++++++++ dlls/winmm/mmsystem.spec | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c index f0634a6f750..8afe14fa51c 100644 --- a/dlls/winmm/mci.c +++ b/dlls/winmm/mci.c @@ -1500,7 +1500,6 @@ DWORD WINAPI mciSendStringA(LPCSTR lpstrCommand, LPSTR lpstrRet, /************************************************************************** * mciExecute [WINMM.@] - * mciExecute [MMSYSTEM.712] */ BOOL WINAPI mciExecute(LPCSTR lpstrCommand) { diff --git a/dlls/winmm/mci16.c b/dlls/winmm/mci16.c index 33776a025bf..75d72021692 100644 --- a/dlls/winmm/mci16.c +++ b/dlls/winmm/mci16.c @@ -750,3 +750,11 @@ BOOL16 WINAPI mciFreeCommandResource16(UINT16 uTable) return FALSE; } + +/************************************************************************** + * mciExecute [MMSYSTEM.712] + */ +BOOL16 WINAPI mciExecute16(LPCSTR lpstrCommand) +{ + return mciExecute(lpstrCommand); +} diff --git a/dlls/winmm/mmsystem.spec b/dlls/winmm/mmsystem.spec index c6b3324ba51..516f02770ed 100644 --- a/dlls/winmm/mmsystem.spec +++ b/dlls/winmm/mmsystem.spec @@ -113,7 +113,7 @@ 708 pascal mciGetDriverData(word) mciGetDriverData16 710 pascal mciDriverYield(word) mciDriverYield16 711 pascal mciDriverNotify(word word word) mciDriverNotify16 -712 pascal mciExecute(ptr) mciExecute +712 pascal mciExecute(ptr) mciExecute16 713 pascal mciFreeCommandResource(word) mciFreeCommandResource16 714 pascal mciSetYieldProc(word ptr long) mciSetYieldProc16 715 pascal mciGetDeviceIDFromElementID(long ptr) mciGetDeviceIDFromElementID16