Method
Libopenmpt.ModuleGetNumInstruments(IntPtr)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_get_num_instruments")]
public static extern int ModuleGetNumInstruments(IntPtr mod)

Remarks

Instruments are a layer on top of samples, and are not supported by all module formats.

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
mod IntPtr The module handle to work on.

Return Value

Type Description
int The number of instrument slots in the module.