MIM_LONGERROR

The MIM_LONGERROR message is sent to a MIDI input callback function when an invalid or incomplete MIDI system-exclusive message is received.

MIM_LONGERROR 
dwParam1= (DWORD) lpMidiHdr 
dwParam2= dwTimestamp 

Parameters

lpMidiHdr

Pointer to a MIDIHDR structure identifying the buffer containing the invalid message.

dwTimestamp

Time that the data was received by the input device driver. The time stamp is specified in milliseconds, beginning at zero when the midiInStart function was called.

Return Values

This message does not return a value.

Remarks

The returned buffer might not be full. To determine the number of bytes recorded into the returned buffer, use the dwBytesRecorded member of the MIDIHDR structure specified by lpMidiHdr.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

Musical Instrument Digital Interface (MIDI), MIDI Messages, midiInStart, MIDIHDR