Method
Libopenmpt.ModuleCtlSetText(IntPtr, string, string)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_ctl_set_text")]
public static extern int ModuleCtlSetText(IntPtr mod, string key, string 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 string 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.