function cleans up the preparation performed by the midiOutPrepareHeader
| HMIDIOUT hmo,
| LPMIDIHDR lpMidiOutHdr,
| UINT cbMidiOutHdr
Handle of the MIDI output device. This parameter can also be the handle of a
MIDI stream cast to HMIDIOUT
Address of a MIDIHDR
structure identifying the buffer to be cleaned up.
Size, in bytes, of the MIDIHDR
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error
values include the following:
||The buffer pointed to by lpMidiOutHdr is still in the queue.
||The specified device handle is invalid.
||The specified pointer or structure is invalid.
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
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 MMSYSERR_NOERROR.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database