Summary
Set the repeat count.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_set_repeat_count")]
public static extern int ModuleSetRepeatCount(IntPtr mod, int repeatCount)
Attributes
Type |
Description |
DllImportAttribute |
|
Parameters
Name |
Type |
Description |
mod |
IntPtr |
The module handle to work on. |
repeatCount |
int |
The repeat count:
- -1: repeat forever
- 0: play once, repeat zero times (the default)
- n > 0: play once and repeat n times after that
|
Return Value
Type |
Description |
int |
1 on success, 0 on failure. |