Method
Libopenmpt.ModuleCtlSetInteger(IntPtr, string, long)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_ctl_set_integer")]
public static extern int ModuleCtlSetInteger(IntPtr mod, string key, long value)

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
mod IntPtr The module handle to work on.
key string The ctl key whose value should be set.
value long The value that should be set.

Return Value

Type Description
int 1 if successful, 0 in case the value is not sensible (e.g. negative tempo factor) or the ctl is not recognized.