If a mod is opened with FSOUND_NONBLOCKING, this function returns the state of the opening mod.
int F_API FMUSIC_GetOpenState( FMUSIC_MODULE *mod );
Parameters
mod
Pointer to the mod to get the open state from.
Return Value
0 = mod is opened and ready.
-1 = mod handle passed in is invalid.
-2 = mod is still opening
-3 = mod failed to open. (file not found, out of memory or other error).