The MIM_CLOSE message is sent to a MIDI input callback function when a MIDI input device is closed.
MIM_CLOSE
dwParam1 = reserved
dwParam2 = reserved
This message does not return a value.
The device handle is no longer valid after this message has been sent.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Musical Instrument Digital Interface (MIDI) Overview, MIDI Messages