Method
Libopenmpt.ModuleGetRepeatCount(IntPtr)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_get_repeat_count")]
public static extern int ModuleGetRepeatCount(IntPtr mod)

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
mod IntPtr The module handle to work on.

Return Value

Type Description
int Repeat Count:
  • -1: repeat forever
  • 0: play once, repeat zero times (the default)
  • n>0: play once and repeat n times after that