Summary
Set ctl boolean value.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_ctl_set_boolean")]
public static extern int ModuleCtlSetBoolean(IntPtr mod, string key, bool 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 |
bool |
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. |