.
C# Signature:
[DllImport("winmm.dll", SetLastError=true)]
static extern UInt32 midiOutUnprepareHeader(IntPtr hMidiOut, IntPtr lpMidiOutHdr, UInt32 cbMidiOutHdr); // LD83
VB Signature:
Declare Function midiOutUnprepareHeader Lib "winmm.dll" (hMidiOut AS Intptr, lpMidiOutHdr AS IntPtr, cbMidiOutHdr) AS UInt32 ' LD83
User-Defined Types:
hMidiOut - Handle to the MIDI output device. This parameter can also be the handle of a MIDI stream cast to HMIDIOUT.
lpMidiOutHdr - Pointer to a MIDIHDR structure identifying the buffer to be cleaned up.
cbMidiOutHdr - Size, in bytes, of the MIDIHDR structure.
Returns
Returns MMRESULT. Possible values are:
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
None.
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
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