Eric Pouech : mmsystem: Create a real function for mciExecute.

Alexandre Julliard julliard at winehq.org
Wed Oct 21 13:13:59 CDT 2009


Module: wine
Branch: master
Commit: 05e625fe3f3e6a6747725d03fcda95c5470726d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=05e625fe3f3e6a6747725d03fcda95c5470726d3

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue Oct 20 21:55:06 2009 +0200

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 f0634a6..8afe14f 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 33776a0..75d7202 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 c6b3324..516f027 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




More information about the wine-cvs mailing list