BASS_MIDI_InStop


Stops a MIDI input device.

BOOL BASS_MIDI_InStop(
    DWORD device
);

Parameters

deviceThe device to stop.

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_InFree, BASS_MIDI_InStart