Method
Libopenmpt.ModuleSetRepeatCount(IntPtr, int)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_set_repeat_count")]
public static extern int ModuleSetRepeatCount(IntPtr mod, int repeatCount)

Remarks

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.