Alex Henrie : mmsystem.dll16: Pass through MCI_LIST, MCI_SETAUDIO, and MCI_SETVIDEO.

Alexandre Julliard julliard at winehq.org
Sun Mar 18 09:02:33 CDT 2018


Module: wine
Branch: oldstable
Commit: f2d0ddaf5fe14dfab2bc119bfb7d9ee96f0a038f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f2d0ddaf5fe14dfab2bc119bfb7d9ee96f0a038f

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon Nov 27 23:03:35 2017 -0700

mmsystem.dll16: Pass through MCI_LIST, MCI_SETAUDIO, and MCI_SETVIDEO.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit d052ff0f3785b9beb744ebb19761808199dd2e1d)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/mmsystem.dll16/mci16.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mmsystem.dll16/mci16.c b/dlls/mmsystem.dll16/mci16.c
index b356a44..d7a356d 100644
--- a/dlls/mmsystem.dll16/mci16.c
+++ b/dlls/mmsystem.dll16/mci16.c
@@ -134,8 +134,7 @@ static MMSYSTEM_MapType	MCI_MapMsg16To32W(WORD wMsg, DWORD dwFlags, DWORD_PTR* l
     if (*lParam == 0)
 	return MMSYSTEM_MAP_OK;
     /* FIXME: to add also (with seg/linear modifications to do):
-     * MCI_LIST, MCI_LOAD, MCI_QUALITY, MCI_RESERVE, MCI_RESTORE, MCI_SAVE
-     * MCI_SETAUDIO, MCI_SETTUNER, MCI_SETVIDEO
+     * MCI_LOAD, MCI_QUALITY, MCI_RESERVE, MCI_RESTORE, MCI_SAVE, MCI_SETTUNER
      */
     switch (wMsg) {
 	/* case MCI_CAPTURE */
@@ -148,6 +147,7 @@ static MMSYSTEM_MapType	MCI_MapMsg16To32W(WORD wMsg, DWORD dwFlags, DWORD_PTR* l
     case MCI_DELETE:
     case MCI_GETDEVCAPS:
 	/* case MCI_INDEX: */
+    case MCI_LIST:
 	/* case MCI_MARK: */
 	/* case MCI_MONITOR: */
     case MCI_PASTE:
@@ -158,6 +158,8 @@ static MMSYSTEM_MapType	MCI_MapMsg16To32W(WORD wMsg, DWORD dwFlags, DWORD_PTR* l
     case MCI_RESUME:
     case MCI_SEEK:
     case MCI_SET:
+    case MCI_SETAUDIO:
+    case MCI_SETVIDEO:
 	/* case MCI_SETTIMECODE:*/
 	/* case MCI_SIGNAL:*/
     case MCI_SPIN:




More information about the wine-cvs mailing list