Summary
Query whether a file extension is supported.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_is_extension_supported")]
public static extern int IsExtensionSupported(string ext)
Attributes
Type | Description |
---|---|
DllImportAttribute |
Parameters
Name | Type | Description |
---|---|---|
ext | string | file extension to query without a leading dot. The case is ignored. |
Return Value
Type | Description |
---|---|
int | 1 if the extension is supported by libopenmpt, 0 otherwise. |