Summary
Set render parameter.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_set_render_param")]
public static extern int ModuleSetRenderParam(IntPtr mod, RenderParamIndices param, int value)
Attributes
Type | Description |
---|---|
DllImportAttribute |
Parameters
Name | Type | Description |
---|---|---|
mod | IntPtr | The module handle to work on. |
param | RenderParamIndices | Parameter to set. See RenderParamIndices |
value | int | The value to set param to. |
Return Value
Type | Description |
---|---|
int | 1 on success, 0 on failure (invalid param). |