To record MIDI audio data, you must use the MIDI input functions. MCI does not provide a device handler for recording MIDI audio.