*lpuDeviceID is set by the caller with the ID of the desired output device. Now midi output device selection is taken into account with midi stream.
Bye.
Changelog : Fix handling of the lpuDeviceID input param in MIDI_StreamOpen.
Christian Costa titan.costa@xxxxxxxxxx
Index: winmm.c =================================================================== RCS file: /home/wine/wine/dlls/winmm/winmm.c,v retrieving revision 1.24 diff -u -r1.24 winmm.c --- winmm.c 9 Nov 2003 01:19:58 -0000 1.24 +++ winmm.c 25 Nov 2003 18:08:44 -0000 @@ -1960,9 +1960,7 @@ if (lphMidiStrm) *lphMidiStrm = (HMIDISTRM)hMidiOut; - /* FIXME: is lpuDevice initialized upon entering midiStreamOpen ? */ - FIXME("*lpuDeviceID=%x\n", *lpuDeviceID); - lpwm->mld.uDeviceID = *lpuDeviceID = 0; + lpwm->mld.uDeviceID = *lpuDeviceID; ret = MMDRV_Open(&lpwm->mld, MODM_OPEN, (DWORD)&lpwm->mod, fdwOpen); lpMidiStrm->hEvent = CreateEventA(NULL, FALSE, FALSE, NULL);