MIM_ERROR

The MIM_ERROR callback message notifies a client that a user-mode driver has received an invalid MIDI short message.

Parameters

dwMsg

MIM_ERROR

dwParam1

Invalid MIDI short message contents (one to three bytes).

dwParam2

Time stamp. Number of milliseconds since MIDM_START was received.

Comments

A user-mode MIDI input driver sends a MIM_ERROR message to its client, by means of a callback, when the driver has received an invalid MIDI short message. The driver sends the message to the client by calling DriverCallback, passing the specified parameters.

The driver sends the MIM_ERROR message only if the client has previously specified a notification target with a MIDM_OPEN message.

Win32 SDK documentation states that clients receive a MM_MIM_ERROR message if the notification target is a window handle. MIM_ERROR and MM_MIM_ERROR are equivalent.

For more information, see Notifying Clients from Audio Drivers and Transferring MIDI Input Data.