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 
Parameters
dwParam1
Reserved; do not use.
dwParam2
Reserved; do not use.
Return Values
This message does not return a value.
Remarks
The device handle is no longer valid after this message has been sent.
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