Prepares the MessageAsIntPtr out of the Message data buffer ready to be used with a device.
Namespace: radio42.Multimedia.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Return Value
Type: Booleanon success, else .
Remarks
Use the MessageAsIntPtr property to retrieve the prepared pointer to the MIDI_HEADER which must be used to handle any system-exclusive message.
Use this property with the MIDI_InAddBuffer(IntPtr, IntPtr) method to provide a data buffer to an input device in order to receive a system-exclusive message.
Use this property with the MIDI_OutLongMsg(IntPtr, IntPtr) method to send a system-exclusive message to an output device.
Note: There is no 'Unprepare' method present in this class, since this will be handled automatically once you received a message back from the device and (re)create an instance of this class with the param1 IntPtr.
See Also