Notes:
Ran into this one while trying to write a simple midi
test applet with winelib.
The change is to a 'is 32 bit?' flag.
For all calls in this file to MMDRV_Message, it should be TRUE.
The equivalent 16 bit functions are in mmsystem.c .
Perhaps there was confusion with this function being
called 'midiOutShortMsg'. The Short has to do with
the message fitting in a single DWORD, rather than
needing a buffer. It has nothing to do with anything
being a short in the C sense.
-- Jeff S
Index: dlls/winmm/winmm.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winmm.c,v
retrieving revision 1.9
diff -u -r1.9 winmm.c
--- dlls/winmm/winmm.c 11 Nov 2002 19:53:01 -0000 1.9
+++ dlls/winmm/winmm.c 27 Nov 2002 16:42:35 -0000
@@ -1145,7 +1145,7 @@
if ((wmld = MMDRV_Get(hMidiOut, MMDRV_MIDIOUT, FALSE)) == NULL)
return MMSYSERR_INVALHANDLE;
- return MMDRV_Message(wmld, MODM_DATA, dwMsg, 0L, FALSE);
+ return MMDRV_Message(wmld, MODM_DATA, dwMsg, 0L, TRUE);
}
/**************************************************************************
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus