Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
- Type: SystemString
The string to use as the data buffer (the string characters will be copied to the Data buffer as byte values plus a final terminating null-byte).
In order to use the MIDI_HEADER with a Midi function (e.g. MIDI_InAddBuffer(IntPtr, IntPtr) or MIDI_OutLongMsg(IntPtr, IntPtr)) you must first call the Prepare(Boolean, IntPtr) method which provides a HeaderPtr to be used.
Make sure, that you always call Unprepare(Boolean, IntPtr) once you prepared the header with the Prepare(Boolean, IntPtr) method and received back the header from the Midi device in order to release all unmanaged recourses!