The MIDI_HEADER type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
MIDI_HEADER( Byte ) |
Initializes a new instance of the MIDI_HEADER with the given data buffer.
| |
MIDI_HEADER(Int32) |
Initializes a new instance of the MIDI_HEADER with an empty data buffer of the given size.
| |
MIDI_HEADER(IntPtr) |
Initializes a new instance of the MIDI_HEADER from a given Midi header pointer.
| |
MIDI_HEADER(String) |
Initializes a new instance of the MIDI_HEADER with the string as the data buffer.
|
Methods
Name | Description | |
---|---|---|
Prepare |
Prepares the MIDI_HEADER structure and sets the HeaderPtr member.
| |
ToString |
Returns the Data buffer as a string.
(Overrides Object ToString .) | |
Unprepare |
Unprepares the MIDI_HEADER structure and frees all used resources.
|
Properties
Name | Description | |
---|---|---|
Data |
The MIDI data buffer.
| |
Flags |
Gets the flags giving information about the buffer (see MIDIHeader for more information).
| |
HeaderPtr |
Gets the pointer to the prepared MIDIHDR structure (or Zero if the header was not prepared).
| |
IsDone |
Indicates if the device driver is finished with the buffer and is returning it to the application.
| |
IsPrepared |
Indicates if the buffer has been prepared by using the Prepare(Boolean, IntPtr) method.
| |
IsStreamBuffer |
Indicates if the buffer is a stream buffer.
| |
User |
Custom user data.
|
See Also