BASS MIDI

BASS_MIDI_InFree


Frees a MIDI input device.

BOOL BASS_MIDI_InFree(
    DWORD device
);

Parameters

deviceThe device to free.

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.

See also

BASS_MIDI_InInit