Querying MIDI Input Devices
Before recording MIDI audio, you should use the midiInGetDevCaps function to determine the capabilities of the MIDI input device that is present in the system. This function takes an address of a MIDIINCAPS structure, which it fills with information about the capabilities of the given device. This information includes the manufacturer and product identifiers, a product name for the device, and the version number of the device driver.
Related topics