typedef struct midihdr_tag {
LPSTR lpData;
DWORD dwBufferLength;
DWORD dwBytesRecorded;
DWORD dwUser;
DWORD dwFlags;
struct midihdr_tag far * lpNext;
DWORD reserved;
} MIDIHDR;
Defines the header used to identify a MIDI long message data buffer. For input, this is system exclusive; for output, this is any valid MIDI data.
MHDR_DONE | Set by the device driver to indicate that it is finished with the data buffer and is returning it to the application. |
MHDR_PREPARED | Set by the device driver to indicate that the data buffer has been prepared with midiInPrepareHeader or midiOutPrepareHeader. |
MHDR_INQUEUE | Set by the device driver to indicate that the data buffer is queued for playback. |