[PATCH] winmm: Load MCI drivers from MCI32 key.

Zebediah Figura z.figura12 at gmail.com
Tue Jul 25 21:18:15 CDT 2017


MCI key/section is for 16-bit drivers, which can't be loaded by
32-bit winmm.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/winmm/mci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index 56a537d..d770f6d 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -66,10 +66,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(mci);
 #define MCI_MAGIC 0x0001
 
 /* MCI settings */
-static const WCHAR wszHklmMci  [] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s',' ','N','T','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','M','C','I',0};
+static const WCHAR wszHklmMci  [] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s',' ','N','T','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','M','C','I','3','2',0};
 static const WCHAR wszNull     [] = {0};
 static const WCHAR wszAll      [] = {'A','L','L',0};
-static const WCHAR wszMci      [] = {'M','C','I',0};
+static const WCHAR wszMci      [] = {'M','C','I','3','2',0};
 static const WCHAR wszOpen     [] = {'o','p','e','n',0};
 static const WCHAR wszSystemIni[] = {'s','y','s','t','e','m','.','i','n','i',0};
 
-- 
2.7.4




More information about the wine-patches mailing list