[MCISEQ] Sync with Wine Staging 4.18. CORE-16441

This commit is contained in:
Amine Khaldi 2019-11-09 21:52:56 +01:00
parent b4e4f9fc77
commit dac1cd3c0a
2 changed files with 4 additions and 4 deletions

View file

@ -32,12 +32,12 @@
#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);

View 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