BASS_MIDI_InStart

Starts a MIDI input device.

BOOL BASS_MIDI_InStart(
    DWORD device
);

Parameters

deviceThe device to start.

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.
BASS_ERROR_INITThe device has not been initialized.
BASS_ERROR_UNKNOWNSome other mystery problem!

See also

BASS_MIDI_InStop