Group: Windows Multimedia - Library: winmm
Enumerating MIDI output devices
MMRESULT midiOutGetDevCaps(
UINT_PTR uDeviceID,
LPMIDIOUTCAPS lpMidiOutCaps,
UINT cbMidiOutCaps
); DECLARE INTEGER midiOutGetDevCaps IN Winmm;
INTEGER uDeviceID,;
STRING @lpMidiOutCaps,;
INTEGER cbMidiOutCaps uDeviceID Identifier of the MIDI output device. The device identifier specified by this parameter varies from zero to one less than the number of devices present. The MIDI_MAPPER constant is also a valid device identifier.
lpMidiOutCaps Pointer to a MIDIOUTCAPS structure.
cbMidiOutCaps Size, in bytes, of the MIDIOUTCAPS structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
Home