Summary
Get a pattern name.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_get_pattern_name")]
public static extern IntPtr ModuleGetPatternName(IntPtr mod, int index)
Remember to convert the IntPtr to a string using Marshal.PtrToStringUTF8().
Attributes
Type |
Description |
DllImportAttribute |
|
Parameters
Name |
Type |
Description |
mod |
IntPtr |
The module handle to work on. |
index |
int |
The pattern whose name should be retrieved. |
Return Value
Type |
Description |
IntPtr |
A pointer to the pattern name as a UTF-8 encoded string. |