fix: Fix TTS COM exception in IL2CPP
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SpeechLib {
|
||||
[ComImport]
|
||||
[TypeLibType(512)]
|
||||
[InterfaceType(1)]
|
||||
[Guid("B2745EFD-42CE-48CA-81F1-A96E02538A90")]
|
||||
public interface ISpPhoneticAlphabetSelection {
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void IsAlphabetUPS(out int pfIsUPS);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SetAlphabetToUPS([In] int fForceUPS);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user