[MCISEQ] Sync with Wine Staging 4.18. CORE-16441
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Nov 2019 20:52:56 +0000 (21:52 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 9 Nov 2019 20:52:56 +0000 (21:52 +0100)
dll/win32/mciseq/mcimidi.c
media/doc/README.WINE

index 864ab98..c6bc860 100644 (file)
 
 #include "windef.h"
 #include "winbase.h"
+#include "winnls.h"
 #include "wingdi.h"
 #include "winuser.h"
 #include "wownt32.h"
 #include "mmddk.h"
 #include "wine/debug.h"
-#include "wine/unicode.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(mcimidi);
 
@@ -692,8 +692,8 @@ static DWORD MIDI_mciOpen(WINE_MCIMIDI* wmm, DWORD dwFlags, LPMCI_OPEN_PARMSW lp
                return MCIERR_FILE_NOT_FOUND;
            }
             wmm->lpstrElementName = HeapAlloc(GetProcessHeap(), 0, 
-                                              (strlenW(lpParms->lpstrElementName) + 1) * sizeof(WCHAR));
-            strcpyW(wmm->lpstrElementName, lpParms->lpstrElementName);
+                                              (lstrlenW(lpParms->lpstrElementName) + 1) * sizeof(WCHAR));
+            lstrcpyW(wmm->lpstrElementName, lpParms->lpstrElementName);
        }
     }
     TRACE("hFile=%p\n", wmm->hFile);
index 4b8dfb1..a42cb96 100644 (file)
@@ -94,7 +94,7 @@ dll/win32/mapi32              # Synced to WineStaging-4.18
 dll/win32/mciavi32            # Synced to WineStaging-4.18
 dll/win32/mcicda              # Synced to WineStaging-3.3
 dll/win32/mciqtz32            # Synced to WineStaging-4.18
-dll/win32/mciseq              # Synced to WineStaging-3.3
+dll/win32/mciseq              # Synced to WineStaging-4.18
 dll/win32/mciwave             # Synced to WineStaging-4.0
 dll/win32/mgmtapi             # Synced to WineStaging-3.3
 dll/win32/mlang               # Synced to WineStaging-4.0