Summary
Get a metadata item value.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_get_metadata")]
public static extern IntPtr ModuleGetMetadata(IntPtr mod, string key)
Attributes
| Type | Description |
|---|---|
| DllImportAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| mod | IntPtr | The module handle to work on. |
| key | string | Metadata item key to query. Use openmpt_module_get_metadata_keys to check for available keys. |
Return Value
| Type | Description |
|---|---|
| IntPtr | The associated value for key. |