MIDIERR_STILLPLAYING - The buffer pointed to by lpMidiOutHdr is still in the queue.
MMSYSERR_INVALHANDLE - The specified device handle is invalid.
MMSYSERR_INVALPARAM - The specified pointer or structure is invalid.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
This function is complementary to the midiOutPrepareHeader function. You must call midiOutUnprepareHeader before freeing the buffer. After passing a buffer to the device driver with the midiOutLongMsg function, you must wait until the device driver is finished with the buffer before calling midiOutUnprepareHeader.
Unpreparing a buffer that has not been prepared has no effect, and the function returns MMRESULT::MMSYSERR_NOERROR.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
The midiOutPrepareHeader function prepares a MIDI system-exclusive or stream buffer for output. - LD83
2/9/2019 7:28:40 AM - -95.150.180.171
A 2019 user who is working on a new C# midi library based on winmm.dll
2/9/2019 6:40:49 AM - -95.150.180.171
The MIDIHDR structure is used for registering buffers with the Midi Ports.
5/2/2013 1:57:54 AM - -195.166.149.253
The MIDIHDR structure is used for registering buffers with the Midi Ports.
5/2/2013 1:57:54 AM - -195.166.149.253
Enumeration for the MMRESULT possible values in winmm.dll
7/21/2010 3:53:56 PM - -65.122.179.242
The midiOutPrepareHeader function prepares a MIDI system-exclusive or stream buffer for output. - LD83
2/9/2019 7:28:40 AM - -95.150.180.171
The midiOutUnprepareHeader function cleans up the preparation performed by the [midiOutPrepareHeader] function. - LD83
2/9/2019 7:32:22 AM - -95.150.180.171
The midiOutLongMsg function sends a system-exclusive MIDI message to the specified MIDI output device.
2/9/2019 8:18:50 AM - -95.150.180.171
The midiOutUnprepareHeader function cleans up the preparation performed by the [midiOutPrepareHeader] function. - LD83
2/9/2019 7:32:22 AM - -95.150.180.171
Enumeration for the MMRESULT possible values in winmm.dll