##### [API function]

## FMUSIC_GetOpenState

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).

### Remarks

___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:25 2005 by SourceDoc v0.10, the automated source code documenter.