--
v5: wineswmidi: Initialize DirectMusic when opening the device.
wineswmidi: Handle MODM_OPEN and MODM_CLOSE.
winmm/tests: Limit wait time in test_midiStream().
wineswmidi: Handle MODM_GETDEVCAPS.
wineswmidi: Add stub SW Synth driver and load it.
winmm: Use wine_midi_stream_free() to free MIDI stream.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7233
Fixes backtraces in Visual Studio Remote Debugging when the remote program is running on wine.
Not sure if this is entirely right yet, maybe the offset/size check should also be moved further up?
Test file is attached ( [map_test.c](/uploads/4d5b426fd9ad931ef4027332f75b1bd9/map_test.c) ), however it's probably not ideal since it tests against the value that the compiler happens to put at offset 0x10000 (I tested with mingw64 GCC). In any case this value just needs to match windows, so for other compilers it can be obtained by running the test on windows. This could probably be improved with a linker script if wanted.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8927