Summary
Get currently selected sub-song from a multi-song module.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_get_selected_subsong")]
public static extern int ModuleGetSelectedSubsong(IntPtr mod)
Attributes
| Type | Description |
|---|---|
| DllImportAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| mod | IntPtr | The module handle to work on. |
Return Value
| Type | Description |
|---|---|
| int | Currently selected sub-song. -1 for all subsongs consecutively, 0 or greater for the current sub-song index. |