BASS_MusicPlay

Plays a MOD music.

BOOL WINAPI BASS_MusicPlay(
    HMUSIC handle
);

Parameters
handleThe MOD music's handle.

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

Error codes
BASS_ERROR_STARTThe digital output has not been started. Use BASS_Start to do so.
BASS_ERROR_HANDLEhandle is not a valid MOD music handle.
BASS_ERROR_BUFLOSTShould not happen, but... PLEASE REPORT IT IF YOU DO GET THIS ERROR!

Remarks
Playback continues from where it was last stopped or paused. If the MOD music has just been loaded, then playback starts from the beginning.

See also
BASS_ChannelGetLevel, BASS_ChannelGetPosition, BASS_ChannelIsActive, BASS_ChannelPause, BASS_ChannelStop, BASS_MusicLoad, BASS_MusicPlayEx