##### [API function]

## FMUSIC_GetType

Returns the format type a song.

int F_API FMUSIC_GetType(
FMUSIC_MODULE *mod
);

### Parameters

mod | Pointer to the song to retrieve name from.

### Return Value

On success, the following values are returned:
FMUSIC_TYPE_NONE
FMUSIC_TYPE_MOD
FMUSIC_TYPE_S3M
FMUSIC_TYPE_XM
FMUSIC_TYPE_IT
FMUSIC_TYPE_MIDI
On failure, FMUSIC_TYPE_NONE is returned.

### Remarks

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

### See Also

FMUSIC_TYPES

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