MIM_CLOSE

The MIM_CLOSE callback message notifies a client that a user-mode driver has finished processing a MIDM_CLOSE message.

Parameters
dwMsg
MIM_CLOSE
dwParam1
NULL
dwParam2
NULL
Comments

A user-mode MIDI input driver sends a MIM_CLOSE message to its client, by means of a callback, when the driver finishes processing a MIDM_CLOSE message. The driver sends the message to the client by calling DriverCallback, passing the specified parameters.

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

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

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