BASS MIDI

BASS_MIDI_InGetDeviceInfo


Retrieves information on a MIDI input device.

BOOL BASS_MIDI_InGetDeviceInfo(
    DWORD device,
    BASS_MIDI_DEVICEINFO *info
);

Parameters

deviceThe device to get the information of... 0 = first.
infoPointer to a structure to receive the information.

Return value

If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_DEVICEdevice is invalid.

Platform-specific

MIDI input is not available on Android.

See also

BASS_MIDI_InInit