Summary
Get the number of rows in a pattern.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_get_pattern_num_rows")]
public static extern int ModuleGetPatternNumRows(IntPtr mod, int pattern)
Attributes
Type | Description |
---|---|
DllImportAttribute |
Parameters
Name | Type | Description |
---|---|---|
mod | IntPtr | The module handle to work on. |
pattern | int | The pattern whose row count should be retrieved. |
Return Value
Type | Description |
---|---|
int | The number of rows in the given pattern. If the pattern does not exist, 0 is returned. |