fix: Fix TTS COM exception in IL2CPP
This commit is contained in:
21
Assets/Plugins/Windows/Interop.SpeechLib/SPEVENT.cs
Normal file
21
Assets/Plugins/Windows/Interop.SpeechLib/SPEVENT.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SpeechLib {
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
||||
[TypeLibType(528)]
|
||||
public struct SPEVENT {
|
||||
public ushort eEventId;
|
||||
|
||||
public ushort elParamType;
|
||||
|
||||
public uint ulStreamNum;
|
||||
|
||||
public ulong ullAudioStreamOffset;
|
||||
|
||||
[ComAliasName("SpeechLib.UINT_PTR")]
|
||||
public ulong wParam;
|
||||
|
||||
[ComAliasName("SpeechLib.LONG_PTR")]
|
||||
public long lParam;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user